home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 36 / Amiga Format CD36 (1999-01-22)(Future Publishing)(GB)[!][issue 1999-02].iso / -seriously_amiga- / graphics / gfx3d.library / fd / gfx3d_lib.fd
Text File  |  1998-12-12  |  2KB  |  77 lines

  1. * "gfx3d.library"
  2. ##base _GfX3dBase
  3. ##bias 30
  4. ##public
  5. *--- functions in V1.0 ---
  6. *
  7. * Library support functions:
  8. GFXVersion()()
  9. GFXFeatures()()
  10. * Memory management functions:
  11. GFXAllocMem(bytesize)(d0)
  12. GFXFreemem(memptr)(a0)
  13. * Math support functions:
  14. GFXFlt(value)(d0)
  15. GFXFix(value)(d0)
  16. GFXAdd(value1,value2)(d1,d0)
  17. GFXSub(value1,value2)(d1,d0)
  18. GFXMul(value1,value2)(d1,d0)
  19. GFXDiv(value1,value2)(d1,d0)
  20. GFXFixMul(fixvalue,value)(d1,d0)
  21. GFXFltMul(fltvalue,value)(d1,d0)
  22. GFXAbs(value)(d0)
  23. GFXNeg(value)(d0)
  24. GFXSin(angle)(d0)
  25. GFXCos(angle)(d0)
  26. GFXSqrt(value)(d0)
  27. GFXFixSqrt(value)(d0)
  28. GFXPi()()
  29. * Structures support functions:
  30. GFXSetColor(color)(d0)
  31. GFXSetFarClip(dist)(d0)
  32. GFXSetNearClip(dist)(d0)
  33. * Structures definition functions:
  34. GFXBegin(structtype)(d0)
  35. GFXColor(color)(d0)
  36. GFXVertex(x,y,z)(d0,d1,d2)
  37. GFXPolygon(polygon)(a0)
  38. GFXFrame(frame)(a0)
  39. GFXPosition(x,y,z)(d0,d1,d2)
  40. GFXDirection(ax,ay,az)(d0,d1,d2)
  41. GFXFarClip(dist)(d0)
  42. GFXNearClip(dist)(d0)
  43. GFXObject(object)(a0)
  44. GFXEnvironment(environment)(a0)
  45. GFXWidth(width)(d0)
  46. GFXHeight(height)(d0)
  47. GFXFocus(focus)(d0)
  48. GFXAspectRatio(rx,ry,rz)(d0,d1,d2)
  49. GFXVideoBuffer(video)(a0)
  50. GFXEnd()()
  51. * Structures management functions:
  52. GFXModifyObjectPosition(object,x,y,z)(a0,d0,d1,d2)
  53. GFXModifyObjectDirection(object,ax,ay,az)(a0,d0,d1,d2)
  54. GFXModifyObjectFrame(object,frame)(a0,a1)
  55. GFXModifyCameraPosition(camera,x,y,z)(a0,d0,d1,d2)
  56. GFXModifyCameraDirection(camera,ax,ay,az)(a0,d0,d1,d2)
  57. GFXModifyCameraFocus(camera,focus)(a0,d0)
  58. GFXModifyCameraAspectRatio(camera,rx,ry,rz)(a0,d0,d1,d2)
  59. GFXModifyCameraWidth(camera,width)(a0,d0)
  60. GFXModifyCameraHeight(camera,height)(a0,d0)
  61. GFXModifyCameraVideoBuffer(camera,video)(a0,a1)
  62. * Video control functions
  63. GFXUpdateVideoBuffer()()
  64. GFXWritePixel(x,y,color)(d0,d1,d2)
  65. GFXClearWorkBuffer()()
  66. GFXUpdateScene(camera)(a0)
  67. *--- functions in V2.0 ---
  68. *
  69. GFXPalette(palette)(a0)
  70. GFXSetShading(shading)(d0)
  71. GFXShadeTable(shadetable)(a0)
  72. GFXShading(shading)(d0)
  73. GFXShareWorkBuffer(camera)(a0)
  74. GFXSteps(steps)(d0)
  75. GFXThreshold(threshold)(d0)
  76. ##end
  77.